LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
src/com_sct_myopenglapp_PlayerJni.cpp \
src/com_sct_screen_ScreenJni.cpp \


LOCAL_C_INCLUDES := \
	$(LOCAL_PATH)/ \
	$(TOP)/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include \
	$(TOP)/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include \
	$(TOP)/platforms/android-8/arch-arm/usr/include \
	$(linphone-root-dir)/rtsp \
    $(linphone-root-dir)/libsct \
    $(linphone-root-dir)/codec \

	#$(LOCAL_PATH)/wrapper/ \


LOCAL_SHARED_LIBRARIES := \
	libcutils \
	libutils \

LOCAL_MODULE:= libplayerjni
LOCAL_LDLIBS += -llog -lGLESv1_CM

LOCAL_CFLAGS := -O2 -g -W -Wall -DSCT_ANDROID
LOCAL_CPPFLAGS += -DXLOCALE_NOT_USED=1 -DNO_SSTREAM=1 -DNULL=0 -O2 -fexceptions

LOCAL_LDFLAGS += -L$(TOP)/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/ -L$(TOP)/platforms/android-8/arch-arm/usr/lib -L$(APP_PROJECT_PATH)/libs/armeabi-v7a/ -lrtsp -lcodec -lsct -lc
 #-lsupc++

include $(BUILD_SHARED_LIBRARY)












